package com.libraryManage.vo;

import com.libraryManage.commons.utils.PagingEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @CreateDate 2021-01-26
 * @Author yufang
 */
@Data
@ApiModel(description = "图书管理vo")
public class BookManageVo extends PagingEntity {

    @ApiModelProperty(value = "图书id")
    private int bookId;

    @ApiModelProperty(value = "图书名")
    private String bookName;

    @ApiModelProperty(value = "作者")
    private String author;

    @ApiModelProperty(value = "图书类别")
    private String bookSort;

    @ApiModelProperty(value = "出版社")
    private String publisher;

    @ApiModelProperty(value = "图书简介")
    private String bookInfo;

    @ApiModelProperty(value = "图书封面地址")
    private String bookImage;

    @ApiModelProperty(value = "图书借出总数")
    private int borrowNum;

    @ApiModelProperty(value = "图书库存总数")
    private int stockNum;

    @ApiModelProperty(value = "图书总数")
    private int bookNum;

    @ApiModelProperty(value = "图书状态 0-》上架，1-》下架")
    private Integer bookState;

    @ApiModelProperty(value = "是否为热门图书 0-》非热门，1-》热门图书")
    private Integer bookHot;

}
